package com.lusang.gift.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.lusang.gift.query.TenantQuery;
import com.lusang.gift.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> loadPageList(Page<Object> page, TenantQuery query);

    Tenant loadByName(String companyName);
    void insertTenantMeal(Map<String, Object> map);
    void insertMeal(Map<String, Object> map);
}
